package com.guodu.service;

import java.io.File;
import java.util.List;


import com.guodu.entity.SupplierRedTwo;
import com.guodu.entity.SupplierRedTwoStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.SupplierRedTwoQueryVo;
import com.guodu.vo.SupplierRedTwoVo;

public interface SupplierRedTwoService {
	public int findSizeByVo(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	public List<SupplierRedTwoVo> findByVo(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units,int curPage, int pageSize);
	public List<SupplierRedTwo> downLoad(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	public void examinAll(SupplierRedTwoQueryVo supplierRedTwoQueryVo,Units units);
	public void save(SupplierRedTwo supplierRedTwo);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	void delByIds(String[] ids,String[] fjUrls);
	
	public SupplierRedTwo findById(String id);
	public void update(SupplierRedTwo supplierRedTwo,File reportFile,String reportFileFileName,Long userId);
	
	public List<SupplierRedTwoStatus> findStatus(String id);
	
	public void deleteById(String id,String fileUrl);
}
